package io.renren.modules.com.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import io.renren.modules.com.entity.ComCrChargingitemEntity;
import io.renren.modules.sys.dao.BaseDao;

/**
 * 
 * 
 * @author pfp
 * @email
 * @date 2017-07-24 10:18:13
 */
@Mapper
public interface ComCrChargingitemDao extends BaseDao<ComCrChargingitemEntity> {

	List<ComCrChargingitemEntity> queryListByCrSerialNo(Long crSerialNo);

	void deleteByCrSerialNo(Long crSerialNo);

	void deleteBatchByCrSerialNos(Long[] crSerialNos);

	ComCrChargingitemEntity queryByCrSerialNoAndChargingItem(@Param("crSerialNo") Long crSerialNo,
			@Param("chargingItem") String chargingItem);

	List<ComCrChargingitemEntity> turnover(Map<String, Object> map);

	int turnoverTotal(Map<String, Object> map);

	List<ComCrChargingitemEntity> dancingQueen(Map<String, Object> map);

	List<ComCrChargingitemEntity> pokemon(Map<String, Object> map);

	List<ComCrChargingitemEntity> superMario(Map<String, Object> map);

	List<ComCrChargingitemEntity> hasumiKurea(Map<String, Object> map);

}
